<?php
/* @var $this ProductController */
/* @var $model Product */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<div class="table" style="width:600px; padding:0; float:left;">
<div class="tr" style="width:600px;">
	<div class="td" style="width:80px;"><?= $form->label($model,'id'); ?></div>
	<div class="td" style="width:50px;"><?= $form->textField($model,'id'); ?></div>
	
    <div class="td"><?= $form->label($model,'name'); ?></div>
    <div class="td"><?= $form->textField($model,'name',array('maxlength'=>50)); ?></div>
</div>

<div class="tr">
	<div class="td"><?= $form->label($model,'is_hot'); ?></div>
    <div class="td"><?= $form->dropDownList($model,'is_hot',Product::getIsHotArray('-----------'.Yii::t('BackEnd','All').'------------'), array('style'=>'width:155px')); ?></div>

	<div class="td"><?= $form->label($model,'status'); ?></div>
    <div class="td"><?= $form->dropDownList($model,'status',Product::getStatusArray('-----------'.Yii::t('BackEnd','All').'------------'), array('style'=>'width:155px')); ?></div>
</div>
</div>

<div class="btn-search" style="margin-left:50px;">
    <?= CHtml::submitButton(Yii::t('BackEnd','Search'), array('class'=>'button')); ?>
</div>
<?php $this->endWidget(); ?>

</div><!-- search-form -->